package com.example.teaching_server.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "file.upload")
public class FileUploadProperties {
    private String path;
    private String maxSize;
    private String allowedTypes;
    private String imagePath = "/uploads/images";
    private String videoPath = "/uploads/videos";
    private String documentPath = "/uploads/documents";
}
